-- GENERATED SPELL FOR [Pesterhide Snarler] --


function spell0_4249(pUnit, Event) --@Intimidating Growl,n/a--
pUnit:FullCastSpellOnTarget(6576,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4249', 6000, 1)
end

function Sorts_4249(pUnit, Event)
local choix_sorts_4249 = math.random(0, 0)
if choix_sorts_4249 == 0 then
pUnit:RegisterEvent('spell0_4249', 1, 1)
end
end

function mob4249_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4249', math.random(1500, 3000), 1)
end

function mob4249_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4249_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4249_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4249, 1, 'mob4249_Action')
RegisterUnitEvent(4249, 2, 'mob4249_Leave')
RegisterUnitEvent(4249, 3, 'mob4249_Kill')
RegisterUnitEvent(4249, 4, 'mob4249_Die')
